﻿<Application
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="IngressApp.App"
             StartupUri="MainWindow.xaml">
	<Application.Resources>
		<ResourceDictionary>
			<ControlTemplate x:Key="Menu" TargetType="{x:Type ToggleButton}">
				<Grid>
					<VisualStateManager.VisualStateGroups>
						<VisualStateGroup x:Name="CommonStates">
							<VisualState x:Name="Normal"/>
							<VisualState x:Name="MouseOver"/>
							<VisualState x:Name="Pressed"/>
							<VisualState x:Name="Disabled"/>
						</VisualStateGroup>
						<VisualStateGroup x:Name="CheckStates">
							<VisualState x:Name="Checked">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FFC2C2C2"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FF3B3B3B"/>
									</ColorAnimationUsingKeyFrames>
									<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Offset)" Storyboard.TargetName="rectangle">
										<EasingDoubleKeyFrame KeyTime="0" Value="0.914"/>
									</DoubleAnimationUsingKeyFrames>
									<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="rectangle">
										<EasingDoubleKeyFrame KeyTime="0" Value="0.888"/>
									</DoubleAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Unchecked">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#002D2D2D"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#002D2D2D"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#002D2D2D"/>
									</ColorAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Indeterminate"/>
						</VisualStateGroup>
					</VisualStateManager.VisualStateGroups>
					<Rectangle x:Name="rectangle" Stroke="{x:Null}" Margin="0,7,3,-4" RadiusY="3" RadiusX="3">
						<Rectangle.Fill>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#00181818" Offset="0"/>
								<GradientStop Color="#002D2D2D" Offset="1"/>
								<GradientStop Color="#003B3B3B" Offset="0.823"/>
								<GradientStop Color="#8E343434" Offset="0.901"/>
							</LinearGradientBrush>
						</Rectangle.Fill>
					</Rectangle>
					<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				</Grid>
			</ControlTemplate>
			<ControlTemplate x:Key="btnCorner" TargetType="{x:Type Button}">
				<Grid>
					<VisualStateManager.VisualStateGroups>
						<VisualStateGroup x:Name="CommonStates">
							<VisualState x:Name="Normal"/>
							<VisualState x:Name="MouseOver">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
										<EasingColorKeyFrame KeyTime="0" Value="White"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
										<EasingColorKeyFrame KeyTime="0" Value="#FFF9F9F9"/>
									</ColorAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Pressed">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
										<EasingColorKeyFrame KeyTime="0" Value="#FFC3DFFF"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
										<EasingColorKeyFrame KeyTime="0" Value="#FF637C97"/>
									</ColorAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Disabled"/>
						</VisualStateGroup>
					</VisualStateManager.VisualStateGroups>
					<Path x:Name="path" Data="M0,0 L21.16461,0 21.218657,0.056688946 C23.658162,2.7407404 25.145001,6.3062352 25.145001,10.219001 25.145001,18.566231 18.378232,25.333001 10.031001,25.333001 6.3790866,25.333001 3.0296834,24.037798 0.4170926,21.881699 L0,21.520401 z" Margin="0,0,0.148,0" Stretch="Fill" Stroke="{x:Null}">
						<Path.Fill>
							<RadialGradientBrush Center="0.405,0.396" GradientOrigin="0.398,0.397" RadiusY="0.596" RadiusX="0.596">
								<GradientStop Color="#FF9F9F9F" Offset="0.944"/>
								<GradientStop Color="#FF747474" Offset="0.948"/>
								<GradientStop Color="#FFD6D6D6"/>
							</RadialGradientBrush>
						</Path.Fill>
					</Path>
					<ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="6.855,-7.959,8,14.082"/>
				</Grid>
			</ControlTemplate>
			<ControlTemplate x:Key="btnNormal" TargetType="{x:Type Button}">
				<Grid>
					<VisualStateManager.VisualStateGroups>
						<VisualStateGroup x:Name="CommonStates">
							<VisualState x:Name="Normal"/>
							<VisualState x:Name="MouseOver">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FF606060"/>
									</ColorAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Pressed">
								<Storyboard>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FF2F2F2F"/>
									</ColorAnimationUsingKeyFrames>
									<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="rectangle">
										<EasingDoubleKeyFrame KeyTime="0" Value="0.996"/>
									</DoubleAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FF838383"/>
									</ColorAnimationUsingKeyFrames>
									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="rectangle">
										<EasingColorKeyFrame KeyTime="0" Value="#FF686868"/>
									</ColorAnimationUsingKeyFrames>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Disabled"/>
						</VisualStateGroup>
					</VisualStateManager.VisualStateGroups>
					<Rectangle x:Name="rectangle" RadiusY="3" RadiusX="3" Stroke="{x:Null}">
						<Rectangle.Fill>
							<LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
								<GradientStop Color="#FF121212" Offset="1"/>
								<GradientStop Color="#FF232323"/>
								<GradientStop Color="#FF494949" Offset="0.078"/>
							</LinearGradientBrush>
						</Rectangle.Fill>
					</Rectangle>
					<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				</Grid>
			</ControlTemplate>
		</ResourceDictionary>
	</Application.Resources>
</Application>
